package Gui;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JPanel;
/**
 *
 * @author Leo
 */
public class Sonar extends JPanel { // classe para desenhar o triangulo do sonar

    public Sonar() {
        super();
    }
    public void paint(Graphics g) {
        super.paint(g);
        g.setColor(Color.green);
        g.fillPolygon(new int[]{0,150,150,0},new int[]{100,150,50,100},4);
    }
}
